
@extends('main')
@section('title')
SignUp
@endsection


@section('content')

<div class="frm_signup">
    <p>Tạo tài khoản nhanh .</p>

	{{ Form::open(array('route' => 'signup','id' => 'form_login')) }}
	{{ $errors->first('username') }}
	{{ $errors->first('password') }}
	<?php if(isset($error1)) echo $error1; ?>
	{{ Form::text('firstName', Input::old('firstName'),  array('placeholder'=>'firstName'))  }}
	{{ Form::text('lastName', Input::old('lastName'),  array('placeholder'=>'lastName'))  }}
	{{ Form::text('email', Input::old('email'),  array('placeholder'=>'Email'))  }}
	{{ Form::text('username', Input::old('username'),  array('placeholder'=>'Username'))  }}
	{{ Form::password('password', array('placeholder'=>'password'))  }}
	male {{ Form::radio('sex', '1') }}
	female {{ Form::radio('sex', '2') }}
	{{ Form::submit('signup',array('class' => 'btn btn_login' )); }}
	{{ Form::close() }}
</div>

@endsection
	
